package com.service.impl;

import com.dao.BasDictMapper;
import com.entity.BasDict;
import com.entity.BasDictExample;
import com.service.BasDictService;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
 * 数据字典表
 * @author huyongzj
 *
 */
@Service(value="basDictService")
public class BasDictServiceImpl implements BasDictService{
	@Autowired
	private BasDictMapper basDictMapper;
	
	@Override
	public int deleteByPrimaryKey(Long dictId) {
		// TODO Auto-generated method stub
		return basDictMapper.deleteByPrimaryKey(dictId);
	}

	@Override
	public int insert(BasDict record) {
		// TODO Auto-generated method stub
		return basDictMapper.insert(record);
	}

	@Override
	public int insertSelective(BasDict record) {
		// TODO Auto-generated method stub
		return basDictMapper.insertSelective(record);
	}

	@Override
	public List<BasDict> selectByExample(BasDictExample example) {
		// TODO Auto-generated method stub
		return basDictMapper.selectByExample(example);
	}

	@Override
	public BasDict selectByPrimaryKey(Long dictId) {
		// TODO Auto-generated method stub
		return basDictMapper.selectByPrimaryKey(dictId);
	}

	@Override
	public int updateByPrimaryKeySelective(BasDict record) {
		// TODO Auto-generated method stub
		return basDictMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(BasDict record) {
		// TODO Auto-generated method stub
		return basDictMapper.updateByPrimaryKey(record);
	}
	
}